package com.ant.storage.dto;

import com.ant.storage.common.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author hzd
 * @version 1.0
 * @date 2022/4/15 20:00
 */
@Data
public class PurchaserDto extends PageRequest {

    @ApiModelProperty(value = "采购单id")
    private  Integer id;

    @ApiModelProperty(value = "采购单id")
    private  Integer subscribeId;

    @ApiModelProperty(value = "采购单id")
    private  Integer   parentId;

    @ApiModelProperty(value = "采购订单id")
    private  Integer purchaseOrdersId;

    @ApiModelProperty(value = "采购单物品中间表id")
    private  Integer goodsPoolCommodityId;

    @ApiModelProperty(value = "采购人id")
    private  Integer purchaserId;

    @ApiModelProperty(value = "供应商id")
    private Integer supplierId;

    @ApiModelProperty(value = "数量")
    private String commodityAmount;

    @ApiModelProperty(value = "单价")
    private BigDecimal commodityPrice;

    @ApiModelProperty(value = "采购状态")
    private Integer goodsStatus;

    @ApiModelProperty(value = "支付方式")
    private Integer paymentMethod;

    @ApiModelProperty(value = "采购渠道")
    private Integer channel;

    @ApiModelProperty(value = "供应商集合")
    private List<SupplierListDto> supList;

    @ApiModelProperty(value = "仓库id")
    private Integer warehouseId;

    @ApiModelProperty(value = "物品id")
    private Integer commodityId;

    @ApiModelProperty(value = "入库数量")
    private String commodityNumber;


    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "修改物品id")
    private Integer commodityNewId;

}
